\documentclass[a4paper,12pt]{article}
\usepackage[MeX]{polski}
\usepackage[T1]{fontenc} % dla inconsolaty
%\usepackage[CP1250]{inputenc} % Windows
\usepackage[utf8]{inputenc} % Linux
\usepackage{amssymb,amsmath}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{color}
\usepackage[svgnames]{xcolor}
\usepackage[scaled=0.82]{beramono}
%----------------------------------------------------------------------
\input{lst-def}
\input{lst-color}
%====================================================================
\begin{document}
\section{Programy}
\input{programy}
\end{document}